const mysql = require('mysql')
const sqlconfig = mysql.createConnection({
  host: 'localhost',
  user: 'root',
  password: 'swj5967287',
  database: 'jevon_cms'
});

sqlconfig.connect((error) => {
  if (error) {
    throw error;
  }

  console.log('<======数据库连接成功=====>');
});
module.exports = sqlconfig